home *** CD-ROM | disk | FTP | other *** search
-
-
- Example Programs
- for
- libspool
-
-
- These example programs demonstrate the use of the libspool API. Each
- program is designed to demonstrate a particular aspect of the API.
- The programs also perform error handling using the library's error
- handling facilities. Most programs are useful printing tools in their
- own right but a few are simply demonstrations not meant to perform any
- particular task. Refer to the libspool(3) man pages for detailed
- information on the libspool API.
-
-
- pinfo - Usage: pinfo [-s bsd | sysv] [printer_name]
-
- Prints detailed information about the specified printer.
-
-
- printers - Usage: printers
-
- Prints a list of the printers available under each of the
- available spooling systems.
-
-
- queue - Usage: queue[-s bsd | sysv] [-q local | remote | merged] [printer_name]
-
- Prints the job queue for the specified printer.
-
-
- remove - Usage: remove [-d printer] [-s bsd | sysv] job_id(s)
-
- Attempts to remove the specified job(s) from the specified
- printer queue.
-
-
- settings - Usage: settings [-s bsd | sysv] [printer_name]
-
- Displays the job and printer options for the specified printer.
-
-
- spoolers - Usage: spoolers
-
- Prints a list of the available spooling systems and indicates
- which spooling system is the default.
-
-
- state - Usage: state [-d printer] [-s bsd | sysv]
- printing | queueing [enable | disable]
-
- Sets or gets the state of the spooling system for the
- specified printer.
-
-
- submit - Usage: submit [-n #] [-d printer] [-c] [-t title]
- [-p spooler options] [-s bsd | sysv] [filename(s)]
-
- Submits a job for printing on the specified spooling system.
-
-